
import 'package:flutter/material.dart';

class VerticalListTile extends StatelessWidget {
  const VerticalListTile({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return ListTile(
          hoverColor: Colors.yellow,
          leading: Image.network(
              "https://img2.baidu.com/it/u=3666548066,2508071679&fm=26&fmt=auto",
              fit: BoxFit.cover,
              width: 60.0,
              height: 40.0,
            ),
          title: const Text("这里是标题",
              style: TextStyle(
                  fontSize: 20,
                  fontWeight: FontWeight.bold,
                  color: Colors.black)),
          subtitle: const Text( "这里是副标题部分",
              style: TextStyle(
                  fontSize: 15,
                  fontWeight: FontWeight.normal,
                  color: Colors.grey),
          ),
        );
  }
}